package com.jming.jike.vo.backend;

import com.jming.jike.dto.BaseDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * @author jinming.zhang
 * @version 0.0.1
 * @date 2022/04/22
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class DishVO extends BaseDTO {

    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("菜品名称")
    private String name;

    @ApiModelProperty("菜品分类id")
    private Long categoryId;

    @ApiModelProperty("菜品分类名称")
    private String categoryName;

    @ApiModelProperty("菜品价格")
    private BigDecimal price;

    @ApiModelProperty("图片")
    private String image;

    @ApiModelProperty("图片地址")
    private String imageUrl;

    @ApiModelProperty("描述信息")
    private String description;

    @ApiModelProperty("0 停售 1 起售")
    private Integer status;

}
